package com.tarena.lbs.coupon.dao.repository.impl;

import com.tarena.lbs.coupon.dao.mapper.UserCouponsMapper;
import com.tarena.lbs.coupon.dao.repository.UserCouponsRepository;
import com.tarena.lbs.coupon.pojo.query.UserCouponCodeQuery;
import com.tarena.lbs.coupon.pojo.vo.UserCouponsVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class UserCouponRepositoryImpl implements UserCouponsRepository {
    @Autowired
    private UserCouponsMapper userCouponsMapper;
    @Override
    public UserCouponsVO receiveDetail(UserCouponCodeQuery param) {

        return userCouponsMapper.receiveDetail(param);
    }
}
